﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:wpf="clr-namespace:ViewOnCore.Helper.WPF;assembly=ViewOnCore"
	xmlns:properties="clr-namespace:RadioPlayerAddIn.Properties"
	x:Class="RadioPlayerAddIn.EditRadioDialog"
	Height="300"
	Width="420">
	<wpf:ChildWindowDecorator x:Name="childWindowDecorator">

      <Grid>

        <Grid.RowDefinitions>
          <RowDefinition Height="10" />
          <RowDefinition Height="*" />
          <RowDefinition Height="30" />
          <RowDefinition Height="5" />
        </Grid.RowDefinitions>

        <Grid.ColumnDefinitions>
          <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>

        <Border Grid.Row="1" Background="{DynamicResource VOColor12}" CornerRadius="1">
          <Grid x:Name="griContent"  Margin="5,5,5,5">
            <Grid.RowDefinitions>
              <RowDefinition />
              <RowDefinition />
              <RowDefinition />
              <RowDefinition />
              <RowDefinition />
              <RowDefinition />
              <RowDefinition />
              <RowDefinition />
              <RowDefinition />
            </Grid.RowDefinitions>

            <Grid.ColumnDefinitions>
              <ColumnDefinition Width="125"/>
              <ColumnDefinition/>
            </Grid.ColumnDefinitions>

            <TextBlock Grid.Row="0" Text="{x:Static properties:Globalization.EditRadioDialog_Genre}" FontWeight="Bold"/>
            <ComboBox x:Name="cboGenres" Grid.Row="0" Grid.Column="1" VerticalAlignment="Center"/>

            <TextBlock Grid.Row="1" Text="{x:Static properties:Globalization.EditRadioDialog_Name}" FontWeight="Bold"/>
            <TextBox x:Name="txtName" Grid.Row="1" Grid.Column="1" Text="" VerticalAlignment="Center"/>

            <TextBlock Grid.Row="2" Text="{x:Static properties:Globalization.EditRadioDialog_BitRate}" FontWeight="Bold"/>
            <ComboBox x:Name="cboBitRates"  Grid.Row="2" Grid.Column="1" VerticalAlignment="Center"/>

            <TextBlock Grid.Row="3" Text="{x:Static properties:Globalization.EditRadioDialog_StreamURL}" FontWeight="Bold"/>
            <TextBox x:Name="txtSreamURL"  Grid.Row="3" Grid.Column="1" Text="" VerticalAlignment="Center"/>

            <TextBlock Grid.Row="4" Text="{x:Static properties:Globalization.EditRadioDialog_WebSiteURL}" FontWeight="Bold"/>
            <TextBox x:Name="txtSiteURL" Grid.Row="4" Grid.Column="1" Text="" VerticalAlignment="Center"/>

            <TextBlock Grid.Row="5" Text="{x:Static properties:Globalization.EditRadioDialog_Description}" FontWeight="Bold"/>
            <TextBox x:Name="txtDescription"  Grid.Row="5" Grid.Column="1" Text="" VerticalAlignment="Center"/>

            <TextBlock x:Name="lblCountry" Grid.Row="6" Text="{x:Static properties:Globalization.EditRadioDialog_Country}" FontWeight="Bold"/>
            <TextBox x:Name="txtCountry"  Grid.Row="6" Grid.Column="1" Text="" VerticalAlignment="Center"/>

            <TextBlock x:Name="lblLanguage" Grid.Row="7" Text="{x:Static properties:Globalization.EditRadioDialog_Language}" FontWeight="Bold"/>
            <TextBox x:Name="txtLanguage"  Grid.Row="7" Grid.Column="1" Text="" VerticalAlignment="Center"/>

            <TextBlock x:Name="lblPriorities" Grid.Row="8" Text="{x:Static properties:Globalization.EditRadioDialog_Priority}" FontWeight="Bold"/>
            <ComboBox x:Name="cboPriorities" Grid.Row="8" Grid.Column="1" VerticalAlignment="Center">
              <ComboBoxItem>1</ComboBoxItem>
              <ComboBoxItem>2</ComboBoxItem>
              <ComboBoxItem>3</ComboBoxItem>
              <ComboBoxItem>4</ComboBoxItem>
              <ComboBoxItem>5</ComboBoxItem>
              <ComboBoxItem>6</ComboBoxItem>
              <ComboBoxItem>7</ComboBoxItem>
              <ComboBoxItem>8</ComboBoxItem>
              <ComboBoxItem>9</ComboBoxItem>
              <ComboBoxItem>10</ComboBoxItem>
              <ComboBoxItem>11</ComboBoxItem>
              <ComboBoxItem>12</ComboBoxItem>
              <ComboBoxItem>13</ComboBoxItem>
              <ComboBoxItem>14</ComboBoxItem>
              <ComboBoxItem>15</ComboBoxItem>
              <ComboBoxItem>16</ComboBoxItem>
              <ComboBoxItem>17</ComboBoxItem>
              <ComboBoxItem>18</ComboBoxItem>
              <ComboBoxItem>19</ComboBoxItem>
              <ComboBoxItem>20</ComboBoxItem>
            </ComboBox>
          </Grid>
        </Border>

        <Button x:Name="btnCancel" Style="{StaticResource Button.TransparentWithEffect}" Grid.Row="2" Width="80" HorizontalAlignment="Left" Margin="110,0,0,0" VerticalAlignment="Bottom" Click="btnCancel_Click">
          <TextBlock Text="{x:Static properties:Globalization.Cancel}" Margin="5,5,5,5"/>
        </Button>
        <Button x:Name="btnOk" Style="{StaticResource Button.TransparentWithEffect}" Grid.Row="2" Width="80" HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Bottom" Click="btnOk_Click">
          <TextBlock Text="{x:Static properties:Globalization.Ok}" Margin="5,5,5,5"/>
        </Button>

      </Grid>

  </wpf:ChildWindowDecorator>
</UserControl>
